Jonathan Blandford [Wed, 2 May 2001 05:25:09 +0000 (05:25 +0000)]
fix bug in dropping columns. Moving columns now basically works modula
Tue May 1 09:21:23 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
fix bug in dropping columns. Moving columns now basically works
modula some fine tuning.
Jonathan Blandford [Tue, 1 May 2001 23:09:50 +0000 (23:09 +0000)]
Add autoscroll support. It mostly works, but could use some fine tuning.
Tue May 1 19:09:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_horizontal_autoscroll): Add
autoscroll support. It mostly works, but could use some fine
tuning.
* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
Actually move the column.
Owen Taylor [Tue, 1 May 2001 01:36:33 +0000 (01:36 +0000)]
New default theme! A slighly improved version of the 2.0 Raleigh theme,
Mon Apr 30 20:29:27 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c
gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtkwidget.c:
New default theme! A slighly improved version of the 2.0 Raleigh
theme, with Windows-esque focus/drawing default.
(GtkWidget::interior_focus defaults to TRUE.)
* gtk/gtkstyle.[ch]: Add a text_aa color halfway between text and base.
Havoc Pennington [Tue, 1 May 2001 01:32:41 +0000 (01:32 +0000)]
fix to work with gtk_paint_layout change
2001-04-30 Havoc Pennington <hp@pobox.com>
* tests/testtext.c (line_numbers_expose): fix to work with
gtk_paint_layout change
Owen Taylor [Mon, 30 Apr 2001 23:23:54 +0000 (23:23 +0000)]
Add an extra parameter use_text to gtk_paint_label() to deal with
Mon Apr 30 19:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.[ch] gtk/gtkaccellabel.c gtk/gtkcellrenderertext.c
gtk/gtkhruler.c gtk/gtkhscale.c gtk/gtklabel.c gtk/gtkprogressbar.c
gtk/gtkvruler.c gtk/gtkvscale.c: Add an extra parameter
use_text to gtk_paint_label() to deal with style->bg[] vs style->text[].
* gtk/gtkbbox.c gtk/gtkdialog.c: Tweak padding some to deal
with GtkWidget::interior_focus = TRUE better.
* gtk/gtkbutton.c
* gtk/gtkwidget.c (gtk_widget_style_get_valist): Remove
G_VALUE_NO_COPY_CONTENTS, to correspond with the recent
change that had to be made with g_object_get.
Jonathan Blandford [Mon, 30 Apr 2001 16:16:02 +0000 (16:16 +0000)]
new function. (gtk_tree_view_move_column_after): Clean up interface.
Sun Apr 29 20:13:40 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_get_columns): new function.
(gtk_tree_view_move_column_after): Clean up interface.
Tim Janik [Sun, 29 Apr 2001 03:08:32 +0000 (03:08 +0000)]
moved GtkAnchorType and GtkSideType from gtkpacker.h to gtkenum.h.
Sun Apr 29 03:02:02 2001 Tim Janik <timj@gtk.org>
* gtk/gtkpacker.h:
* gtk/gtkenums.h: moved GtkAnchorType and GtkSideType from gtkpacker.h
to gtkenum.h.
* gtk/gtkmain.c (gtk_main_do_event): silence compiler (GDK_SETTING not
handled in switch).
* gtk/Makefile.am:
(gtk.defs): generate enum portions with glib-mkenums.
(gtktypebuiltins_evals.c): generate this with glib-mkenums.
got rid of makeenums.pl and makeenums.awk in distributed tarballs.
* gtk/gtkaccelgroup.c (gtk_accel_group_add): refined havocs warning
addition.
* docs/Changes-2.0.txt: keep a note on signal handlers now
not getting emitted during the emission they were connected within.
Havoc Pennington [Sun, 29 Apr 2001 02:27:27 +0000 (02:27 +0000)]
fix bug in tooltip
2001-04-28 Havoc Pennington <hp@pobox.com>
* gtk/gtkcolorsel.c (palette_new): fix bug in tooltip
Havoc Pennington [Sat, 28 Apr 2001 20:18:29 +0000 (20:18 +0000)]
voc Pennington <hp@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line):
(gtk_text_layout_move_iter_to_next_line): fix these two for
invisible text, lots of other stuff still hosed.
* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
new function, replaces the get/set palette stuff. This function
is intended for use by libgnomeui which should set the hook to a
thing which sets the palette in GConf, and we need the
GConf-to-xsettings proxy which will result in the change being
propagated back to the GTK app.
* gtk/gtkaccelgroup.c (gtk_accel_group_add): add note to warning
about unusable signals that it may be because the signal has
parameters.
* gtk/gtkwidget.c (gtk_widget_modify_style): always copy the
style, otherwise gtkrc.c won't know to create a new GtkStyle for
it.
(gtk_widget_modify_color_component): call
gtk_widget_modify_style() so the rc style will get copied.
(gtk_widget_modify_font): ditto
* gtk/gtkrc.c: make a couple variables static
* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): hide
help button by default, since it does nothing
* gtk/gtkcolorsel.c: add tooltips, work on key navigation, fool
around with UI
* gtk/gtkentry.c (gtk_entry_realize): request enter/leave notify
so we can have tooltips
* gtk/gtkhsv.c (gtk_hsv_realize): request enter/leave notify so we
can have tooltips
* gdk/gdkimage.h: mark gdk_image_new_bitmap with
GDK_ENABLE_BROKEN, because its memory behavior is completely
hosed.
* gtk/gtknotebook.c: remove key press handler, replace with
binding set, add numeric keypad support
* gtk/gtktextview.c (gtk_text_view_class_init): accept KP_Delete
* gtk/gtktext.c (gtk_text_key_press): add a bunch of KP keysyms
* gtk/gtkentry.c (gtk_entry_class_init): accept GDK_KP_Delete in
addition to plain Delete
* gtk/gtktextview.c (gtk_text_view_key_press_event): accept
GDK_KP_Enter in addition to GDK_Return
* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): connect to
activate on entry instead of key press
(gtk_font_selection_on_clist_key_press): get
rid of this signal handler, not needed with new font sel.
* gtk/gtkfilesel.c (gtk_file_selection_key_press): remove a
no-longer-needed emit_stop_by_name(), just return TRUE
* gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.c: remove keybindings
cruft, this widget is no longer focusable.
* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkvscale.c,
gtk/gtkhscale.c: Get rid of trough_keys virtual function, add
move_slider action signal, add binding set for vscale/hscale, in
the process support numeric keypad
* gtk/gtkentry.c (gtk_entry_class_init): Add keypad bindings;
make GDK_Return and GDK_KP_Enter activate the entry via
binding set, instead of hardcoded.
James Henstridge [Sat, 28 Apr 2001 05:17:31 +0000 (05:17 +0000)]
s/G_PARAM_WRITE/G_PARAM_WRITABLE/
obvious fix to make it compile
Jonathan Blandford [Sat, 28 Apr 2001 00:29:34 +0000 (00:29 +0000)]
Massive reorder/cleanup of a lot of the code. Some documentation added.
Fri Apr 27 20:27:21 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.[hc]: Massive reorder/cleanup of a lot of the
code. Some documentation added.
Havoc Pennington [Sat, 28 Apr 2001 00:12:47 +0000 (00:12 +0000)]
fix warning
2001-04-27 Havoc Pennington <hp@redhat.com>
* gtk/gtkcombo.c (gtk_combo_popup_button_press): fix warning
* gtk/gtkmessagedialog.c (gtk_message_dialog_init): make messages selectable
* gtk/gtkentry.c (gtk_entry_real_insert_text): don't strip
line/para separators
(gtk_entry_create_layout): set single paragraph mode on the layout
* gtk/gtkbutton.c (gtk_button_new_from_stock): don't put much
spacing between the image and label; instead, inside a button box
the button will get extra space that will go there, but if people
configure button box for 0 chubbiness, then there's no spacing.
* gtk/gtkbbox.c (gtk_button_box_class_init): Make child ipadding
and min/max size style properties, so people can tune their
chubbiness.
* tests/testgtk.c (make_toolbar): remove calls to removed toolbar
functions
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Make space_size,
space_style, and button_relief into style properties, remove
functions for setting them
* gtk/gtkmenu.c (gtk_menu_key_press): handle menu bar accel to pop
it back down
* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): free boxed
types from gtk_widget_style_get
* gtk/gtkmenubar.c (gtk_menu_bar_set_shadow_type): Remove, replace
with a style property.
* gdk/x11/gdkevents-x11.c: namespace the settings
* gtk/gtkmenubar.c: Add F10 accelerator to move between menubars.
* gtk/gtksettings.c (gtk_settings_class_init): remove code with
side effects from inside g_assert(), so that G_DISABLE_ASSERT can
be used. Also, translate doc strings for settings. Also, namespace
the double-click-time property. Also, remove bell properties crap.
Sven Neumann [Fri, 27 Apr 2001 01:38:54 +0000 (01:38 +0000)]
before creating links, check if pkg-config files exist for the default
2001-04-27 Sven Neumann <sven@gimp.org>
* Makefile.am: before creating links, check if pkg-config files
exist for the default target. Otherwise link to the pkg-config files
that got installed with this build.
Michael Natterer [Thu, 26 Apr 2001 23:33:50 +0000 (23:33 +0000)]
removed invalid multibyte sequence. fixed invalid end-of-line.
2001-04-27 Michael Natterer <mitch@convergence.de>
* da.po: removed invalid multibyte sequence.
* jp.po: fixed invalid end-of-line.
Jonathan Blandford [Thu, 26 Apr 2001 23:17:36 +0000 (23:17 +0000)]
clean up column dragging code. Revealed some (potential) GdkWindow bugs.
Thu Apr 26 19:11:46 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_motion): clean up column
dragging code. Revealed some (potential) GdkWindow bugs.
* gdk/x11/gdkwindow-x11.c (gdk_window_reparent): add
_gdk_window_init_position to the end of reparent to fix the case
of reparenting when new_x != old_x and new_y != old_y.
Chookij Vanatham [Thu, 26 Apr 2001 19:03:58 +0000 (19:03 +0000)]
Added Hebrew Punctuation/Point Marks to the text.
Owen Taylor [Thu, 26 Apr 2001 18:39:06 +0000 (18:39 +0000)]
remove some left-over files
Owen Taylor [Thu, 26 Apr 2001 14:57:13 +0000 (14:57 +0000)]
Fix optimization that was correct for the use here, but completely
Thu Apr 26 10:54:50 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (strstr_len): Fix optimization that
was correct for the use here, but completely incorrect
in general.
Owen Taylor [Thu, 26 Apr 2001 14:42:41 +0000 (14:42 +0000)]
Remove deprecation of gtk_window_set_default_size() until patch adding
Thu Apr 26 10:40:41 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
until patch adding gtk_window_set_size() is recommitted.
* **Makefile.am configure.in gdk/x11/gdkim-11.c
gtk/gtkmain.c gtk/gtkimmulticontext.c gtk/gtkmain.c
gtk/gtkrc.c: Remove all traces of -DX_LOCALE support.
(#10784)
Owen Taylor [Wed, 25 Apr 2001 16:34:09 +0000 (16:34 +0000)]
Add note about GTK_ENABLE_BROKEN.
Wed Apr 25 12:33:03 2001 Owen Taylor <otaylor@redhat.com>
* gtk/tmpl/gtktreeitem.sgml: Add note about GTK_ENABLE_BROKEN.
Owen Taylor [Wed, 25 Apr 2001 16:17:46 +0000 (16:17 +0000)]
Test for window == NULL in a number of cases.
Wed Apr 25 12:16:36 2001 Owen Taylor <otaylor@redhat.com>
* gdk/X11/gdkevents-x11.c (gdk_event_translate): Test for
window == NULL in a number of cases.
* tests/testdnd.c: Set module path for gdk-pixbuf.
Havoc Pennington [Wed, 25 Apr 2001 14:15:04 +0000 (14:15 +0000)]
set_decorations_hint and set_functions_hint were still in the header
2001-04-25 Havoc Pennington <hp@pobox.com>
* gtk/gtkwindow.h: set_decorations_hint and set_functions_hint
were still in the header
Alexander Larsson [Tue, 24 Apr 2001 14:59:12 +0000 (14:59 +0000)]
Forgot the ChangeLog entry.
Alexander Larsson [Tue, 24 Apr 2001 14:58:33 +0000 (14:58 +0000)]
i2001-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkclist.[ch]:
* gtk/gtkctree.c:
When there is a row highlighted for D'n'D it must alse
be painted hightlighted on exposes. Otherwise exposes from
the icon being dragged will mess up the hightlight.
* gtk/gtkfontsel.c:
Don't recenter selected font when exposing the font family
clist. This means you can now actually scroll the font family
list.
* gtk/gtknotebook.c:
Fix focus movement on scrolling tabs that are placed on the left
and right.
Havoc Pennington [Tue, 24 Apr 2001 12:24:35 +0000 (12:24 +0000)]
handle 0-height empty/invisible lines.
2001-04-21 Havoc Pennington <hp@pobox.com>
* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
empty/invisible lines.
* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
(gtk_text_iter_set_visible_line_index): new functions to set
indexes excluding invisible text
* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
index
* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
(gtk_text_iter_get_visible_line_offset): new functions to
get indexes excluding invisible text
* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
bunch of extra padding that served no purpose
* gtk/gtkdialog.c: Make all the spacings configurable via style
properties, for chubbiness configuration in themes
* tests/testtext.c: fix path to the immodules.
Jonathan Blandford [Mon, 23 Apr 2001 23:03:53 +0000 (23:03 +0000)]
add missing '}' that got munched by #endif.
Mon Apr 23 18:57:03 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that
got munched by #endif.
* gtk/Makefile.am (gtk_plug_c_sources): add missing '\'
* gtk/gtktreeview.c: Refactored code to clean up a number of
events.
* gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return
values to make consistent with other functions. Spotted by Jeff
Franks <jcf@tpg.com.au>.
* gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal
declaration spotted by Jeff Franks <jcf@tpg.com.au>.
Sven Neumann [Mon, 23 Apr 2001 19:51:06 +0000 (19:51 +0000)]
gtk/Makefile.am gtk/gtkplug.c on request of Owen, reverted my last change
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/Makefile.am
* gtk/gtkplug.c
* gtk/gtksocket.c: on request of Owen, reverted my last change
and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
Sven Neumann [Mon, 23 Apr 2001 18:20:44 +0000 (18:20 +0000)]
put into #ifdef GDK_WINDOWING_X11 to make GTK+ compile for non-X11 targets
2001-04-23 Sven Neumann <sven@gimp.org>
* gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
compile for non-X11 targets again
Owen Taylor [Sun, 22 Apr 2001 19:52:55 +0000 (19:52 +0000)]
Add $(MATH_LIB).
Sun Apr 22 15:51:32 2001 Owen Taylor <otaylor@redhat.com>
* Makefile.am (LDADDS): Add $(MATH_LIB).
Keld Jørn Simonsen [Sun, 22 Apr 2001 12:06:57 +0000 (12:06 +0000)]
Translations from Keld
evolution/po/da.po galeon/po/da.po gb/po/da.po gernel/po/da.po
gimp/po/da.po glade/po/da.po gnome-applets/po/da.po
gnome-core/po/da.po gnome-db/po/da.po gnome-pim/po/da.po
gnomeicu/po/da.po gnumeric/po/da.po gtk+/po/da.po
gtranslator/po/da.po nautilus/po/da.po pong/po/da.po
sodipodi/po/da.po ximian-setup-tools/po/da.po
Kenneth Christiansen [Sat, 21 Apr 2001 21:19:39 +0000 (21:19 +0000)]
Translations from keld
control-center/po/da.po eog/po/da.po gb/po/da.po
gernel/po/da.po gimp/po/da.po gnome-db/po/da.po
gnome-libs/po/da.po gnome-lokkit/po/da.po gnome-print/po/da.po
gnomeicu/po/da.po gphoto/po/da.po gtk+/po/da.po
gtranslator/po/da.po libgda/po/da.po mc/po/da.po pan/po/da.po
pong/po/da.po sodipodi/po/da.po ximian-setup-tools/po/da.po
Alexander Larsson [Fri, 20 Apr 2001 10:59:48 +0000 (10:59 +0000)]
API Change. Take GdkColor arguments instead of gdouble *. Leave the old
2001-04-20 Alexander Larsson <alexl@redhat.com>
* gtk/gtkcolorsel.[ch]:
API Change. Take GdkColor arguments instead of gdouble *.
Leave the old gtk_color_selection_set_color for compatibility,
but marked deprecated.
Do correct rounding when converting RGB <-> HSV.
* gtk/gtkcolorseldialog.c:
* tests/testgtk.c:
Use new GtkColorSelection API.
* gtk/gtkhsv.c:
Fix problem selecting colors in triangle when Hue is 330.
Fix some black dots around the HSB triangle.
* gtk/gtkfilesel.c:
return FALSE from the focus_in_event handler to fix focus problems.
Owen Taylor [Thu, 19 Apr 2001 20:36:46 +0000 (20:36 +0000)]
File containing #defines for XEMBED protocol.
Thu Apr 19 16:11:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am xembed.h: File containing #defines
for XEMBED protocol.
* gtk/gtkplug.[ch] gtk/gtksocket.[ch]:
- Change protocol from old plug/socket specific protocol
to XEMBED draft
- Various fixes to work with GTK+-2.0
Still quite a bit of work to do here to handle initiation
from the socket side (as specified by XEMBED), to handle
the more advanced features of XEMBED, and to figure out
a good way to handle same-app embedding with less overhead
than using full XEMBED.
Havoc Pennington [Wed, 18 Apr 2001 22:21:45 +0000 (22:21 +0000)]
add signals and binding set, so keybindings are configurable
2001-04-18 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c (gtk_window_class_init): add signals and binding
set, so keybindings are configurable
(gtk_window_activate_default): Change to activate the focus widget
instead if there's a focus widget, to be consistent with the
behavior that previously existed in key_press_event
Havoc Pennington [Wed, 18 Apr 2001 20:33:26 +0000 (20:33 +0000)]
Handle numeric keypad keysyms; bug #50201
2001-04-18 Havoc Pennington <hp@redhat.com>
* gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201
Havoc Pennington [Wed, 18 Apr 2001 20:16:38 +0000 (20:16 +0000)]
Close bug #50615:
2001-04-18 Havoc Pennington <hp@redhat.com>
Close bug #50615:
* gtk/gtkstyle.c (gtk_default_draw_layout): Use text_gc to draw
the layout
* gtk/gtktext.c: Use base/text instead of bg/fg throughout
* gtk/gtkentry.c: Use base/text instead of bg/fg throughout
* gtk/gtktextdisplay.c: Use base/text instead of bg/fg throughout
* gtk/gtkstyle.c (gtk_style_init): make GTK_STATE_SELECTED default
to blue for base, in addition to bg
Havoc Pennington [Wed, 18 Apr 2001 19:56:48 +0000 (19:56 +0000)]
allow shrinking the image window to test that we clip to allocation.
2001-04-18 Havoc Pennington <hp@redhat.com>
* tests/testgtk.c (create_image): allow shrinking the image window
to test that we clip to allocation.
* gtk/gtkimage.c (gtk_image_expose): clip to allocation,
#9845
* gtk/gtkenums.h: move GtkWrapMode in here, #50472
Owen Taylor [Wed, 18 Apr 2001 18:28:19 +0000 (18:28 +0000)]
Try changing mode on shm segments to 0600. We'll see who complains.
Wed Apr 18 14:23:14 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing
mode on shm segments to 0600. We'll see who complains.
* gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call
_gdk_windowing_window_destroy() AFTER recursing through
children.
* tests/Makefile.am (noinst_PROGRAMS): Build testsocket,
testsocket_child on X.
* tests/testsocket[_child].c: Fix uses of
gtk_window_get_default_accel_group().
[ Merge patch from Ramiro Estrugo <ramiro@eazel.com> from gtk-1-2 ]
* gdk/gdkimage.c: (gdk_image_get):
Deal with the possibility that XGetImage() might return NULL.
Allocate the GdkImagePrivate structure only after XGetImage()
succeeds in order not to dereference a NULL ximage pointer. This
prevents a core dump when XGetImage() fails - which is unlikely,
but can happen due to race conditions accessing the geometries of
drawables. An x error will still be triggered, but the gdk image
wrapper at least wont seg fault.
Havoc Pennington [Wed, 18 Apr 2001 18:09:18 +0000 (18:09 +0000)]
fix to properly queue resizes when the image is set
2001-04-18 Havoc Pennington <hp@redhat.com>
* gtk/gtkimage.c: fix to properly queue resizes when the image is
set
* gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
if the insertion point isn't editable
* demos/gtk-demo/images.c: Added a GtkImage demo
* demos/gtk-demo/drawingarea.c: drawing area demo
* demos/gtk-demo/menus.c (create_menu): cleanups
2001-04-18 Havoc Pennington <hp@redhat.com>
* gdk-pixbuf.c (gdk_pixbuf_fill): Function to fill pixbuf with a
given color.
Owen Taylor [Wed, 18 Apr 2001 17:57:36 +0000 (17:57 +0000)]
Introduce an extra child of toplevel windows that serves to hold the focus
Wed Apr 18 12:15:52 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c gdk/x11/gdkwindow-x11.h
gdk/x11/gdkevents-x11.c: Introduce an extra child
of toplevel windows that serves to hold the focus to
avoid events being delivered to embedded windows.
* gdk/x11/gdkwindow-x11.c (gdk_window_new): Introduce
some extra variables to clean up code and reduce the
number of casts.
* gdk/x11/gdkwindow-x11.h (struct _GdkXPositionInfo): Use
guint for 1 bit bit fields, not gboolean.
Owen Taylor [Wed, 18 Apr 2001 14:05:49 +0000 (14:05 +0000)]
Return FALSE, not TRUE. (Fixes #52925)
Wed Apr 18 10:04:23 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_paint_window): Return FALSE,
not TRUE. (Fixes #52925)
Owen Taylor [Tue, 17 Apr 2001 23:21:18 +0000 (23:21 +0000)]
Released 1.3.4
Tue Apr 17 18:05:34 2001 Owen Taylor <otaylor@redhat.com>
* Released 1.3.4
* NEWS: Updated
* gtk/gtktextview.c (gtk_text_view_class_init): Fix to not
use GTK_TYPE_ENUM.
Owen Taylor [Tue, 17 Apr 2001 19:19:09 +0000 (19:19 +0000)]
Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS
Tue Apr 17 13:47:12 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Don't put -lgthread in GLIB_LIBS, GLIB_DEPLIBS
* gtk/gtktypeutils.h gtk/gtksignals.h: Restore proper parameter
names to compatibility #defines so docs work.
* gtk/gtkenums.h: Remove GtkMenuFactoryType
* gtk/gtkwindow.c gtk/gtkdnd.c: Docs cleanups.
* configure.in: Don't include -lgthread in GLIB_LIBS, GLIB_DEPLIBS
* tests/testgtkrc: No magenta cursors, please.
* README.in INSTALL.in HACKING README.cvs-commits: Updated.
* gtk/gtkenums.h (enum): Remove left over GtkMenuFactoryType.
Owen Taylor [Tue, 17 Apr 2001 18:12:46 +0000 (18:12 +0000)]
Remove -DGTK_DISABLE_COMPAT add -DGTK_ENABLE_BROKEN
Tue Apr 17 10:59:13 2001 Owen Taylor <otaylor@redhat.com>
* gtk/Makefile.am (GTKDOC_CFLAGS): Remove -DGTK_DISABLE_COMPAT
add -DGTK_ENABLE_BROKEN
* {gtk/gtk,gdk/gdk}-sections.txt: Updated
Owen Taylor [Mon, 16 Apr 2001 20:33:03 +0000 (20:33 +0000)]
Remove explicit pointer grabs, since they are no longer necessary.
Mon Apr 16 14:38:41 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklist.c gtk/gtklistitem.c: Remove explicit pointer
grabs, since they are no longer necessary.
* gtk/gtkcombo.c (gtk_combo_popup_button_press): Fix #52926
by signal_connect() and call gtk_button_pressed() rather
than signal_connect_after().
* tests/testgtk.c: Restore radio menu items to combos
since they'll look OK with Raleigh, and it is easier
than finishing the process of removing them that was
started earlier.
Hans Breuer [Mon, 16 Apr 2001 12:46:02 +0000 (12:46 +0000)]
added all exports required to link PyGtk 0.7.1
2001-04-16 Hans Breuer <hans@breuer.org>
* gdk/gdk.def :
* gtk/gtk.def : added all exports required to link PyGtk 0.7.1
* gdk/gdkfont.h : #define GDK_TYPE gdk_font_get_type ()
we are interested in the functions return value not the function address
* gdk/gdkvisual.h : same for GDK_TYPE_VISUAL
* gtk/makefile.msc.in : reflect movement of GDK_TYPEs from gtk to gdk
Hans Breuer [Fri, 13 Apr 2001 23:56:19 +0000 (23:56 +0000)]
updated
2001-04-14 Hans Breuer <hans@breuer.org>
* gdk/gdk.def :
* gdk/makefile.msc : updated
* gdk/win32/gdkdrawable.win32 (gdk_win32_draw_rectangle) : if modus is
"fill with tile" do so with new helper function gdk_win32_draw_tiles
(the testgtk::text backgound pixmap is drawn again)
Changed SetTextAlign before pango_win32_render to TA_BASELINE to reflect
Win32 Pango change
* gdk/win32/gdkprivate-win32.h : prototype for gdk_win32_draw_tiles
* gdk/win32/gdkproperty-win32.c : first implementation of gdk_setting_get
Not sure if the returned settings have the right unit, because I couldn't
find any docs for the X version ...
* gtk/gtk.def :
* gtk/makefile.msc.in : updated
Owen Taylor [Fri, 13 Apr 2001 18:00:02 +0000 (18:00 +0000)]
Fix up to refer to GTK+, not to GLib; fix some wording problems. (Compared
Thu Apr 12 17:41:17 2001 Owen Taylor <otaylor@redhat.com>
* gtk-2.0.m4: Fix up to refer to GTK+, not to GLib; fix some
wording problems. (Compared to version from Johannes Stezenbach to
check correctness.)
Owen Taylor [Fri, 13 Apr 2001 14:48:28 +0000 (14:48 +0000)]
Add $(top_builddir) to includes as necessary, Run gtkdoc-scangobj from
Fri Apr 13 10:41:10 2001 Owen Taylor <otaylor@redhat.com>
* */Makefile.am: Add $(top_builddir) to includes as necessary,
Run gtkdoc-scangobj from builddir, not srcdir, don't distribute
foo-doc.{top,bottom}, recomment in code to distribute HTML
images, with shell fixes.
* gtk/gtk.hierarchy gdk-pixbuf/gdk-pixbuf.{args,signals,hierarchy}:
Remove generated files.
Tim Janik [Thu, 12 Apr 2001 19:04:08 +0000 (19:04 +0000)]
get this to compile.
Thu Apr 12 21:04:26 2001 Tim Janik <timj@gtk.org>
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): get
this to compile.
Anders Carlsson [Thu, 12 Apr 2001 18:16:13 +0000 (18:16 +0000)]
It's pixbuf_pos, not pixbufpos.
2001-04-12 Anders Carlsson <andersca@codefactory.se>
* gtk/gtkcellrenderertextpixbuf.c (gtk_cell_renderer_text_pixbuf_class_init): It's pixbuf_pos,
not pixbufpos.
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Fix small typo.
* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): xpad and ypad
are unsigned insts, therefore use g_value_set_uint.
(gtk_cell_renderer_set_property): Likewise, use g_value_get_uint.
Jonathan Blandford [Thu, 12 Apr 2001 16:11:54 +0000 (16:11 +0000)]
fix a fixme.
Sun Apr 8 05:36:06 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktextview.c (gtk_text_view_class_init): fix a fixme.
* gtk/gtkcellrendertoggle.c: change GTK_TYPE_POINTER to
GTK_TYPE_STRING.
* gtk/gtktreeview.c: New functions to allow initial column
dragging work.
* gtk/gtktreeviewcolumn.c: Initial column dragging support.
* tests/testtreefocus.c: give dave some love.
* tests/testtreesort.c: Modify test to check really long samples.
Christian Rose [Thu, 12 Apr 2001 00:59:45 +0000 (00:59 +0000)]
Fixed Swedish translation. Thanks to Göran Uddeborg
<goeran@uddeborg.pp.se>.
Alexander Larsson [Wed, 11 Apr 2001 15:45:12 +0000 (15:45 +0000)]
Pass pkg-config options before the other args so it works even if
2001-04-11 Alexander Larsson <alexl@redhat.com>
* gtk-2.0.m4: Pass pkg-config options
before the other args so it works even if
POSIXLY_CORRECT is set.
Christian Rose [Tue, 10 Apr 2001 23:54:16 +0000 (23:54 +0000)]
Updated Swedish translation.
Tim Janik [Mon, 9 Apr 2001 17:47:15 +0000 (17:47 +0000)]
increment version to 1.3.4 (binary 0, interface 0).
Mon Apr 9 19:02:07 2001 Tim Janik <timj@gtk.org>
* configure.in (GTK_MICRO_VERSION): increment version to 1.3.4 (binary
0, interface 0).
Denis Oliver Kropp [Wed, 4 Apr 2001 21:16:47 +0000 (21:16 +0000)]
gtk_calendar_button_press: check for action_func != NULL
Sven Neumann [Wed, 4 Apr 2001 18:28:37 +0000 (18:28 +0000)]
corrected path to gtk.immodules
2001-04-04 Sven Neumann <sven@gimp.org>
* tests/testgtk.c (test_init): corrected path to gtk.immodules
Valek Frob [Wed, 4 Apr 2001 11:23:40 +0000 (11:23 +0000)]
Updated russian translation.
Tim Janik [Wed, 4 Apr 2001 07:20:41 +0000 (07:20 +0000)]
Released Gtk+-1.3.3.
Wed Apr 4 09:18:18 2001 Tim Janik <timj@gtk.org>
* Released Gtk+-1.3.3.
Wed Apr 4 07:42:23 2001 Tim Janik <timj@gtk.org>
* gdk/Makefile.am (EXTRA_DIST): add makeenums.pl to EXTRA_DIST.
Tim Janik [Wed, 4 Apr 2001 03:01:35 +0000 (03:01 +0000)]
stay in builddir and read/write files to/from source dir. (if we don't
Wed Apr 4 04:13:18 2001 Tim Janik <timj@gtk.org>
* gtk/stock-icons/Makefile.am: stay in builddir and read/write
files to/from source dir. (if we don't stay in builddir, we
can't reach make-inline-pixbuf.
* gdk/Makefile.am (gdkenumtypes.c): add $(srcdir) to mekeenums.pl
deps.
* configure.in (GTK_MICRO_VERSION): up and away (1.3.3 bin/interface
ages 0).
Wed Apr 4 01:26:04 2001 Tim Janik <timj@gtk.org>
* gdk-pixbuf/Makefile.am: disabled "for i in $(HTML_IMAGES) ;"
dist-hook because $(HTML_IMAGES) is empty.
* gtk/Makefile.am: same here.
* gdk/Makefile.am: same here. touched gdk.types since make rules
require it ;(
Wed Apr 4 01:41:02 2001 Tim Janik <timj@gtk.org>
* pixops/Makefile.am (noinst_LTLIBRARIES): include $top_srcdir
so we don't try to get <gtk/gtkobject.h> from standard search
paths.
* Makefile.am (gdk-pixbuf-marshal.c): use deps from srcdir.
add gdk-pixbuf-marshal.list to EXTRA_DIST.
take gdk-pixbuf-marshal.h out of _la sources.
Sven Neumann [Tue, 3 Apr 2001 23:14:26 +0000 (23:14 +0000)]
sorry, I only wanted to commit .cvsignore
I'm stupid and perhaps a bit tired ...
Sven Neumann [Tue, 3 Apr 2001 23:11:15 +0000 (23:11 +0000)]
shut up CVS
Jonathan Blandford [Tue, 3 Apr 2001 19:13:08 +0000 (19:13 +0000)]
removed set_sort_column, as it was moved to the GtkTreeSortable interface.
Tue Apr 3 15:04:45 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodelsort.h: removed set_sort_column, as it was
moved to the GtkTreeSortable interface.
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
Make more efficient (fixes #50262).
Owen Taylor [Tue, 3 Apr 2001 18:48:46 +0000 (18:48 +0000)]
Updated.
Tue Apr 3 13:55:37 2001 Owen Taylor <otaylor@redhat.com>
* NEWS: Updated.
* configure.in: Remove support for uninstalled glib.
* gtk/gtkdnd.c (gtk_drag_highlight_expose): Return FALSE as
so as not to stop emission.
* gtk-config-2.0.in: Exit with an error message that gtk-config-2.0
is no longer supported.
* Makefile.am gtk/Makefile.am tests/*: Moved all tests
into tests, change build order to build modules before
gtk/.
* modules/input/Makefile.am: Move gtk-query-immodules-2.0 invocation
to here.
Tim Janik [Tue, 3 Apr 2001 13:18:00 +0000 (13:18 +0000)]
changed gtk_item_factory_dump_items() and gtk_item_factory_dump_rc()
Tue Apr 3 13:52:57 2001 Tim Janik <timj@gtk.org>
* gtk/gtkitemfactory.[hc]: changed gtk_item_factory_dump_items()
and gtk_item_factory_dump_rc() GtkPatternSpec argument to
GPatternSpec. this is actually unlikely to cause breakage in
third-party apps since except for gle, pretty much ever caller
passes NULL here.
* gtk/gtkbindings.[hc]: removed gtk_pattern_*() API.
* *.c: use g_pattern_*() API.
* docs/Changes-2.0.txt: GtkPatternSpec->GPatternSpec updates.
* gtk/gtkstyle.c (gtk_default_draw_resize_grip): assert unhandled
directions aren't passed in.
* gtk/gtksettings.[hc] (_gtk_settings_parse_convert): export conversion
functionality to be usable from gtkstyle.c as well, give precedence
for conversion to user-supplied parsers.
s/_gtk_rc_property_parser_for_type/_gtk_rc_property_parser_from_type/;
* gtk/gtkstyle.c (_gtk_style_peek_property_value): use
_gtk_settings_parse_convert() for rcporperty value conversion.
Alexander Larsson [Tue, 3 Apr 2001 08:39:28 +0000 (08:39 +0000)]
Add empty gdk_setting_get().
2001-04-03 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkevents-fb.c:
Add empty gdk_setting_get().
Tim Janik [Tue, 3 Apr 2001 04:29:58 +0000 (04:29 +0000)]
use more elaborate variable names.
Tue Apr 3 05:09:07 2001 Tim Janik <timj@gtk.org>
* gtk/gtkmain.c (_gtk_boolean_handled_accumulator): use more elaborate
variable names.
* gtk/makeenums.pl: touch this so enum files get remade.
Jonathan Blandford [Mon, 2 Apr 2001 23:38:54 +0000 (23:38 +0000)]
Bug fix to make trees work again when not sorted.
Mon Apr 2 19:36:57 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_init): Bug fix to make trees
work again when not sorted.
* gtk/gtktreeview.c (gtk_tree_view_class_init): Add "collapse_row"
and "expand_row" signal, closing bug 52578.
* gtk/gtktreeview.c (gtk_tree_view_expand_row): Add signal
support.
* gtk/gtktreeview.c (gtk_tree_view_collapse_row): Add signal
support.
Owen Taylor [Mon, 2 Apr 2001 23:33:47 +0000 (23:33 +0000)]
Add GdkEventSetting event for notification of changes to system settings,
Mon Apr 2 18:18:07 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkevents.h: Add GdkEventSetting event for notification
of changes to system settings, gdk_setting_get() to retrieve
a single system setting.
* gdk/x11/gdkevents-x11.c: Bridge gdk_setting_get() and GdkEventSetting
to the draft XSETTINGS mechanism.
* gdk/x11/xsettings-{common,client}.[ch]: Sample-implementation of
XSETTINGS.
* gtk/gtkmain.c gtk/gtksettings.[ch]: Propagate notification
of GDK settings changes to the GtkSettings object.
* gdk/gdkevents.[ch] gdk/gtk/gtksettings.c: Hook up the
double-click-timeout property to GDK.
* gdk/gdkcolor.[ch] gdk/gdkvisual.h gdk/gdkevent.[ch] gdk/gdkfont.[ch]:
Define GDK boxed types here.
* gdk/Makefile.am gdk/makeenums.pl: Generate source files
gdk/gdkenumtypes.[ch] for enum definitions.
* gtk/gtkcompat.h: Add defines for GTK_TYPE_GDK_*
* gtk/gtk-boxed.defs: Comment out GDK types
* gtk/gtktypeutils.h: Remove GDK types
* gtk/Makefile.am: No longer scan GDK headers for enumerataions
Owen Taylor [Mon, 2 Apr 2001 22:45:19 +0000 (22:45 +0000)]
Applied patch from Ron Steinke to add signal accumulators so that signals
Mon Apr 2 16:41:08 2001 Owen Taylor <otaylor@redhat.com>
* Applied patch from Ron Steinke to add signal accumulators
so that signals with the convention 'TRUE return means
handled' stop emission on a TRUE return.
* gtk/gtkmain.[ch]: Add private accumulator
_gtk_boolean_handled_accumulator, used throughout GTK+.
* gtk/gtkspinbutton.c: Add accumulator for ::output.
* gtk/gtktipsquery.c: Add accumulator for ::widget_selected
* gtk/gtkwidget.c: Add accumulators for event signals,
::drag_motion, ::drag_drop. Use _gtk_boolean_handled_accumator
for ::mnemonic-activate.
* gtk/gtkwindow.c: Add accumulator for ::frame_event
Mon Apr 2 16:24:21 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c: Add missing include.
Jonathan Blandford [Mon, 2 Apr 2001 20:56:55 +0000 (20:56 +0000)]
BOXED,BOXED,BOXED,BOXED): new marshaller.
Mon Apr 2 16:56:15 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkmarshal.list (VOID:BOXED,BOXED,BOXED,BOXED): new
marshaller.
* gtk/gtktreemodel.c (gtk_tree_model_range_changed): change
"changed" signal to "range_changed".
* gtk/gtktreeview.c (gtk_tree_view_set_model): fix small bug where
removing a tree from one model would remove all trees from that
model.
* gtk/gtktreeview.c (gtk_tree_view_range_changed): use range
changed signal instead.
Owen Taylor [Mon, 2 Apr 2001 20:15:31 +0000 (20:15 +0000)]
Add missing changelog entry.
Owen Taylor [Mon, 2 Apr 2001 20:15:18 +0000 (20:15 +0000)]
Avoid chaining up to parent impl, since we have a INPUT_ONLY window.
Mon Apr 2 16:13:58 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkinvisible.c (gtk_invisible_style_set): Avoid
chaining up to parent impl, since we have a INPUT_ONLY
window.
* gtk/gtkentry.[ch]: Add a cursor_color property to set the
foreground color for the cursor.
Owen Taylor [Mon, 2 Apr 2001 19:09:56 +0000 (19:09 +0000)]
Reference param spec when caching property values, since we unref it later
Mon Apr 2 15:06:13 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (_gtk_style_peek_property_value): Reference
param spec when caching property values, since we unref it
later when we free the style.
* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Dont' free
values since they are retrieved with G_VALUE_NO_COPY_CONTENTS.
Owen Taylor [Mon, 2 Apr 2001 15:51:28 +0000 (15:51 +0000)]
Fix G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE
Mon Apr 2 10:47:57 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_class_init): Fix
G_VALUE_NO_COPY_CONTENTS instead of G_SIGNAL_TYPE_STATIC_SCOPE
stupidity.
Mon Apr 2 00:51:11 2001 Owen Taylor <otaylor@redhat.com>
[ First pass at adding style properties. Still needs some definite
fine-tuning. ]
* gtk/gtkbutton.c: Add ::default_spacing style property.
* gtk/gtkcheckbutton.[ch] gtkradiobutton.c: Add ::indicator_size,
::indicator_spacing style properties.
* gtk/gtkoptionmenu.c: Add ::indicator_size, ::indicator_spacing
style properties.
* gtk/gtk{,h,v}paned.[ch]: Make handle_size a style property
rather than a normal property.
* gtk/gtkwidget.c: Add an ::interior_focus style property to
draw focus inside buttons, in the Windows/Java Metal/etc. style.
* gtk/gtkbutton.c gtk/gtkcheckbutton.c gtk/gtktogglenbutton.c:
Honor ::interior_focus.
* gtk/gtkentry.c: Don't draw focus at all when ::interior_focus is
TRUE.
* gtk/gtkrange.[ch] gtk/gtk{h,v}scrollbar.c gtk/gtk{h,v}scale.c:
Add ::slider_width, ::trough_border, ::stepper_size,
::stepper_spacing style properties.
* gtk/gtkscale.[ch] Add ::slider-length style property.
Alexander Larsson [Mon, 2 Apr 2001 07:15:30 +0000 (07:15 +0000)]
Add gdk_window_begin_resize_drag and gdk_window_begin_move_drag. Remove
2001-04-02 Alexander Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkwindow-fb.c:
Add gdk_window_begin_resize_drag and gdk_window_begin_move_drag. Remove some
warnings that were spewed on startup.
* gtk/gtkwindow-decorate.c:
gtk_window_reposition -> _gtk_window_reposition
Owen Taylor [Mon, 2 Apr 2001 03:47:25 +0000 (03:47 +0000)]
Add boxed type for GtkRequistion. Use it for ::size-request.
Sun Apr 1 21:37:22 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
Add boxed type for GtkRequistion. Use it for ::size-request.
* gtk/gtkstyle.[ch] gtk/gtktypeutils.c gtk/gtk-boxed.defs:
Add a new GtkBorder structure useful for geometry properties
for widgets. Add corresponding GTK_TYPE_BORDER.
* gtk/gtkwidget.c (gtk_widget_class_install_style_property):
Support automatic parser selection like
gtk_settings_install_property_parser().
* gtk/gtksettings.c (_gtk_rc_property_select_parser): Export
functionality for use by gtk_widget_class_install_style_property.
Support GTK_TYPE_BORDER, GTK_TYPE_REQUISITION.
Sun Apr 1 20:48:59 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkentry.c (gtk_entry_class_init): Make invisible-char
g_param_spec_unichar().
Tim Janik [Sun, 1 Apr 2001 22:29:26 +0000 (22:29 +0000)]
raise window for non _NET window managers.
Sun Apr 1 23:41:37 2001 Tim Janik <timj@gtk.org>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): raise window for non
_NET window managers.
* gtk/gtkmenufactory.[hc]: cvs removed those files now.
Tim Janik [Sun, 1 Apr 2001 07:32:41 +0000 (07:32 +0000)]
got rid of gtk_widget_popup(), a function that bad needs to be nuked, not
Sun Apr 1 08:00:13 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.[hc]: got rid of gtk_widget_popup(), a function that
bad needs to be nuked, not just deprecated.
* gtk/gtktooltips.c (gtk_tooltips_draw_tips): don't use
gtk_widget_popup().
* gtk/*.[hc]: s/activate_mnemonic/mnemonic_activate/g;
* gtk/gtkmenufactory.[hc]: removed this long-standingly deprecated
widget.
* docs/Changes-2.0.txt: updates.
Jonathan Blandford [Sun, 1 Apr 2001 06:02:09 +0000 (06:02 +0000)]
for (i = 0; i < 100; i ++) g_print ("I will confirm it compile before
Sun Apr 1 01:02:54 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed):
for (i = 0; i < 100; i ++)
g_print ("I will confirm it compile before committing\n");
Jonathan Blandford [Sun, 1 Apr 2001 05:52:23 +0000 (05:52 +0000)]
Initial work on implementing the GtkTreeSortable interface. Basicaly a big
Sun Apr 1 00:52:06 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreestore.c: Initial work on implementing the
GtkTreeSortable interface. Basicaly a big cut'n'paste job.
Tim Janik [Sun, 1 Apr 2001 04:20:08 +0000 (04:20 +0000)]
fixups.
Tim Janik [Sun, 1 Apr 2001 04:05:42 +0000 (04:05 +0000)]
fixed a bunch of notifications, added reference counts around emissions
Sun Apr 1 03:28:14 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c: fixed a bunch of notifications, added
reference counts around emissions where the widget is used afterwards.
added freeze/thaws around multiple properties being notified.
(_gtk_widget_get_aux_info): cleanups.
* gtk/gtksettings.c (gtk_settings_install_property): provide
default parsing functions for gdkcolor, enums and flags.
* gtk/gtkwindow.[hc]: partially reverted patch from havoc,
applied by owen.
kept a flag in GtkWindowGeometryInfo to handle user
resetting default sizes.
cleaned up ZVT comments.
bunch of assorted bug fixes, notification fixes.
(_gtk_window_reposition): make this a really internal function.
* gtk/testgtk.c: fixups.
Hans Breuer [Sat, 31 Mar 2001 19:33:49 +0000 (19:33 +0000)]
disable USE_MMX for msvc build cause the assembler doesn't fit and is out
2001-03-31 Hans Breuer <hans@breuer.org>
* config.h.win32.in : disable USE_MMX for msvc build cause
the assembler doesn't fit and is out of my scope. Disable
USE_GMODULE for msvc build as wel. The right way to share
binaries on win32 would be to use libtiff.dll etc. To reduce
installation hassles IMO it's better to include all fileformats
builtin to gdk-pixbuf
* gdk-pixbuf/makefile.msc : new file
* gdk/gdk.def : updated
* gdk/win32/gdkevents-win32.c : don't erase the background if
.no_bg is set. It improves the scrolling (e.g. of testgtk main
buttons
* gdk/win32/gdkgeometry-win32.c : added comment about the above
* gdk/win32/gdkwindow-win32.c : added three new functions like
the X version. Only one is implemented, because the other two
"gdk_window_begin_(resize|move)_drag" got no docs and appear to
be default behaviour on win32 anyway ...
* gtk/gtk.def : updated
* gtk/makefile.msc.in : update for new files, use glib-genmarshal
from where it was built and add an additional rule to automagically
build gtkmarshal.[hc]
* gtk/gtkfilesel.c (open_new_dir) : don't increase n_entries
before array access for the current entry isn't finished
* gtk/gtktreeitem.c (gtk_tree_item_subtree_button_click) :
use g_return_val_if_fail
* gtk/testgtk.c (window_controls) : don't use the *wrong* size
for the static array, but let the compiler calculate it. It
makes me wonder if gcc isn't capable to catch bugs like this ...
James Henstridge [Sat, 31 Mar 2001 00:48:37 +0000 (00:48 +0000)]
fix use of magic constant "-1" in the aux info structure.
2001-03-31 James Henstridge <james@daa.com.au>
* gtk/gtkwidget.c (gtk_widget_size_adjust): fix use of magic
constant "-1" in the aux info structure.
Alexander Larsson [Fri, 30 Mar 2001 15:46:17 +0000 (15:46 +0000)]
Remove leaks.
2001-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtkbutton.c (gtk_button_get_property):
* gtk/gtklabel.c:
Remove leaks.
* gtk/gtkcontainer.c:
* gtk/gtkhscale.c:
* gtk/gtkhscrollbar.c:
* gtk/gtklayout.c:
* gtk/gtkmisc.c:
* gtk/gtkprogress.c:
* gtk/gtkprogressbar.c:
* gtk/gtkrange.c:
* gtk/gtktable.c:
* gtk/gtkviewport.c:
* gtk/gtkvscale.c:
* gtk/gtkvscrollbar.c:
* gtk/gtkwidget.c:
Property patches, based on patches from John Margaglione and Lee Mallabone.
Mike Kestner [Fri, 30 Mar 2001 03:35:47 +0000 (03:35 +0000)]
added value_changed signal which proxies for the adjustment. Cleaned
Thu Mar 29 21:20:38 2001 Mike Kestner <mkestner@ameritech.net>
* gtk/gtkspinbutton.c : added value_changed signal which proxies for the
adjustment. Cleaned redundant preconditions (spin != NULL). Added
inline API function docs.
(gtk_spin_button_new_with_range): New convenience constructor.
(gtk_spin_button_set_increments): New adjustment helper.
(gtk_spin_button_set_range): New adjustment helper.
* gtk/testgtk.c : added test of the new convenince constructor and
value_changed signals.
docs/reference/ChangeLog
2001-03-29 Mike Kestner <mkestner@ameritech.net>
* gtk/tmpl/gtkspinbutton.html: killed function docs that are now
inline.
Jonathan Blandford [Fri, 30 Mar 2001 01:26:30 +0000 (01:26 +0000)]
Now we listen to the reorder signal.
Thu Mar 29 20:20:38 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): Now we
listen to the reorder signal.
Owen Taylor [Thu, 29 Mar 2001 23:02:30 +0000 (23:02 +0000)]
Add private function to get the aux info structure fo the widget.
Wed Mar 28 20:30:26 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch] (_gtk_widget_get_aux_info): Add private function
to get the aux info structure fo the widget.
* gtk/gtklabel.c gtk/gtkscrolledwindow.c gtk/gtkwindow.c: Use
above function.
[ Patch from Havoc Pennington <hp@redhat.com> ]
* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): function
to get the size of the window manager frame, basically the same
code that gdk_window_get_root_origin() had
(gdk_window_get_root_origin): use gdk_window_get_frame_extents()
* gtk/gtkwindow.c (gtk_window_set_default_size): use
gdk_window_resize() if the window is realized and resizeable
* gdk/x11/gdkwindow-x11.c (gdk_window_set_geometry_hints): fix
typo so that setting gravity works
* gtk/gtkwindow.c (gtk_window_move_resize): don't ever use
allocation if auto_shrink is on, even if the default size
has not changed.
* gtk/gtkwidget.c (gtk_widget_render_icon): remove bogus
g_return_if_fail
Jonathan Blandford [Thu, 29 Mar 2001 21:30:05 +0000 (21:30 +0000)]
Massive reordering/sorting work. Now pretty much works.
Thu Mar 29 16:29:12 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkliststore.c (gtk_list_store_iter_changed): Massive
reordering/sorting work. Now pretty much works.
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): Lots of work to make
reorder mostly work. Still need to get the parity correct.
* gtk/gtktreeviewcolumn.c: Listen for "model" property changed
signal, so I can listen for the sort_column_changed signal so I
can change my "sort_indicator" property. Cool.
Owen Taylor [Thu, 29 Mar 2001 21:17:45 +0000 (21:17 +0000)]
*** empty log message ***
Chookij Vanatham [Thu, 29 Mar 2001 18:18:46 +0000 (18:18 +0000)]
Added Thai UTF-8 text which also has the wrong written syntax.
Alexander Larsson [Thu, 29 Mar 2001 12:25:15 +0000 (12:25 +0000)]
Don't return TRUE from the event handler, that blocks all event signals on
2001-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_event_handler):
Don't return TRUE from the event handler, that blocks all
event signals on the tooltip widget. Now you can press buttons
in toolbars again.
Owen Taylor [Thu, 29 Mar 2001 00:24:58 +0000 (00:24 +0000)]
Add missing NULL on valist.
Wed Mar 28 19:20:43 2001 Owen Taylor <otaylor@redhat.com>
* gtk/testtext.c (create_buffer): Add missing NULL on
valist.
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix
c-n-p problem with INCONSISTENT property.
[ Patch from Havoc Pennington <hp@redhat.com> ]
* gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup
hook.
* gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup
signal as a hook for extending the default popup menu
* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
use radio menu items for the input method menuitems
* gtk/gtkimcontextsimple.c (check_hex): do better validation of
inserted unicode from Ctrl-Shift-hex input method
* gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8
validatation here, already done at GtkTextBuffer level.
* gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add
popup_menu run action signal and Shift+F10 and Menu keybindings.
* gtk/gtkentry.c: implement a default handler for popup_menu
* gtk/gtktextview.c: implement a default handler for popup_menu
* gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is
from a key event
* gtk/gtklabel.c: remove "trailer" cruft
Jonathan Blandford [Wed, 28 Mar 2001 22:27:20 +0000 (22:27 +0000)]
new function to handle reordering of trees. Seems to mostly work w/ the
Wed Mar 28 17:27:12 2001 Jonathan Blandford <jrb@redhat.com>
* gtk/gtkrbtree.c (_gtk_rbtree_reorder): new function to
handle reordering of trees. Seems to mostly work w/ the exception
of the parity flag.
* gtk/gtktreeview.c (gtk_tree_view_reordered): handle "reordered"
signal.
Tim Janik [Wed, 28 Mar 2001 19:16:43 +0000 (19:16 +0000)]
c++ fixes.
Wed Mar 28 21:12:37 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.h: c++ fixes.
Owen Taylor [Wed, 28 Mar 2001 16:58:16 +0000 (16:58 +0000)]
Fix use of uninitialized memory.
Sun Mar 25 15:51:28 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtksettings.c (gtk_settings_init): Fix use of uninitialized
memory.
Owen Taylor [Wed, 28 Mar 2001 04:01:21 +0000 (04:01 +0000)]
Apply patch from Nils Barth fixing event return values. (#51041)
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from
Nils Barth fixing event return values. (#51041)
* gtk/gtkwidget.c: Fix some return values for default
functions.
* gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix
return values for trough_keys functions.
* gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return
value for add_accelerator (shoudl have been a void
return.)
* gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h:
Fix return type of EVENT.
* gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT
signal return a boolean.
Jonathan Blandford [Wed, 28 Mar 2001 03:09:03 +0000 (03:09 +0000)]
Fix arguments to reordered signal.
Tue Mar 27 22:07:44 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtkliststore.c (gtk_list_store_sort): Fix arguments to
reordered signal.
* tests/testtreesort.c (main): fix spelling.
Bad Jonathan. Don't break the tree.